package com.chee.plant.hibernate.object;

import java.util.Calendar;

import com.chee.plant.hibernate.object.base.BasePlantLog;

public class PlantLog extends BasePlantLog {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public PlantLog() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public PlantLog(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public PlantLog(java.lang.Integer id, java.lang.Integer userId,
			java.lang.String description, java.util.Date createTime) {

		super(id, userId, description, createTime);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setCreateTime(Calendar.getInstance().getTime());
		this.setDescription("");
		this.setId(0);
		this.setUserId(0);
	}
}